<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="./dbmech_master.html" />
<head></head>
<body>
      <div class="table_list">
            <b>Tables</b>

            ${tmpl_context.databaseView(value=databaseValue, controller=controller)}
      </div>
      <div class="mainView" style="bg-color:#ffffff;">
            <py:if test="defined('table_name')">
                  <h2 style="margin: 0px 5px 0px 0px;">$table_name</h2>
                  <div style="float:left;">
                        <div style="float:left; padding-right:10px;"><a href="../addRecord/$table_name">AddRecord</a></div>
                        <div style="float:left; padding-right:10px;"><a href="../tableView/$table_name">TableView</a></div>
                        <div style="float:left; padding-right:10px;"><a href="../tableDef/$table_name">TableDef</a></div>
                  </div>
                  <br/>
            </py:if>

            ${tmpl_context.mainView(value=mainValue)}
      </div>
</body>
</html>